package com.example.demo.es.service;

import com.example.demo.es.vo.Employee;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface EmploService extends ElasticsearchRepository<Employee, Long> {
    List findByName(String name);
}
